package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.SysPermission;

import java.util.List;

public interface IPermissionService {

    public SysPermission insert(SysPermission sysPermission);

    public SysPermission update(SysPermission sysPermission);

    public int delete(Integer id);

    public SysPermission getById(Integer id);

    IPage<SysPermission> getListByPage(IPage page, SysPermission sysPermission);

    List<SysPermission> getList(SysPermission sysPermission);

}
